how to convert string to array in c